package com.ytjj.qmyx.supplychain.common.model.request;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import jdk.nashorn.internal.ir.annotations.Ignore;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description TODO
 * @ClassName OrdersExpressRequest
 * 
 * 
 * @Version 1.0
 **/


@Data
public class OrdersExpressRequest extends BaseRowModel {

    @ExcelProperty(index = 0,value = "订单ID")
    private String orderNo;

    @ExcelProperty(index = 1,value = "订单号")
    private String childOrderNo;

    @ExcelProperty(index = 2,value = "订单日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    @ExcelProperty(index = 3,value = "订单状态")
    private String orderInfoStatusName;

    @ExcelProperty(index = 4,value = "商品名称")
    private String productName;

    @ExcelProperty(index = 5,value = "一级类目")
    private String topCategoryTitle;

    @ExcelProperty(index = 6,value = "二级类目")
    private String categoryTitle;

    @ExcelProperty(index = 7,value = "三级类目")
    private String bottomCategoryTitle;

//    @ExcelProperty(index = 8,value = "是否测评商品")
//    private String isZeroProduct;

    @ExcelProperty(index = 8,value = "商品规格")
    private String productSkuSpec;

    @ExcelProperty(index = 9,value = "商品条码")
    private String goodsCode;

    @ExcelProperty(index = 10,value = "外部SKU")
    private String threeSkuId;

    @ExcelProperty(index = 11,value = "商品数量")
    private String productSum;

    @ExcelProperty(index = 12,value = "商品款号")
    private String typeno;

    @ExcelProperty(index = 13,value = "商品总金额（成本+运费）")
    private String costPriceAndFreight;

    @ExcelProperty(index = 14,value = "商品成本")
    private String costPrice;

    @ExcelProperty(index = 15,value = "商品运费")
    private String freight;

    @ExcelProperty(index = 16,value = "订单备注")
    private String note;

    @ExcelProperty(index = 17,value = "客服备注")
    private String smallNote;

    @ExcelProperty(index = 18,value = "发货时间")
    private String importTime;

    @ExcelProperty(index = 19,value = "快递公司")
    private String expressCode;

    @ExcelProperty(index = 20,value = "快递单号")
    private String expressNo;

    @ExcelProperty(index = 21,value = "收货人")
    private String userName;

    @ExcelProperty(index = 22,value = "拆分快递")
    private String expressRecordStr;

    @ExcelProperty(index = 23,value = "手机号")
    private String userTel;

    @ExcelProperty(index = 24,value = "收货人所在省份")
    private String province;

    @ExcelProperty(index = 25,value = "收货人所在城市")
    private String city;

    @ExcelProperty(index = 26,value = "收货人所在区县")
    private String area;

    @ExcelProperty(index = 27,value = "收货人详细地址")
    private String deliveryAddress;

    @ExcelProperty(index = 28,value = "身份证姓名")
    private String authenticatedName;

    @ExcelProperty(index = 29,value = "身份证号码")
    private String authenticatedCard;

    @ExcelProperty(index = 30,value = "售后状态")
    private String returnGoodStatusName;

    @ExcelProperty(index = 31,value = "售后单号")
    private String serviceNo;

    @ExcelProperty(index = 32,value = "客服电话")
    private String companyTel;


    @Ignore
    private Integer bankerId;



    /**
     * 导出时间
     */
    @Ignore
    private Date exportTime;

    /**
     * 是否导出
     */
    @Ignore
    private Byte isExport;

    /**
     * 更新时间
     */
    @Ignore
    private Date updateTime;

    /**
     * 快递状态 1->无状态 2-异常 3->正常
     */
    @Ignore
    private Byte status;

    /**
     * 订单状态
     */
    @Ignore
    private Byte orderStatus;


    /**
     * 快递流水
     */
    @Ignore
    private String expressRecord;

    @Ignore
    private Integer id;
}
